package com.xsdl.bridge;

import java.util.List;

public class EmailSender implements MsgSender {

    private List<String> emails;

    public EmailSender(List<String> phones) {
        this.emails = phones;
    }

    @Override
    public void sendMessage(String message) {
        for (String email : emails) {
            System.out.println("邮件通知:" + email);
        }
    }

}
